﻿using System;
using System.Collections.Generic;
using System.Text;
using DrugStorehouseMIS.DAL.Interface;


namespace DrugStorehouseMIS.DAL
{
    public class Adapter
    {
        public static ISystemFunction GetSystemFunction()
        {
            return new SystemFunctionDAL();
        }

        public static IUserDAL GetUserDAL()
        {
            return new UserDAL();
        }

        public static IStockOutTypeDAL GetStockOutType()
        {
            return new StockOutTypeDAL();
        }

        public static IStockInTypeDAL GetStockInType()
        {
            return new StockInTypeDAL();
        }

        public static ISupplierDAL GetSupplier()
        {
            return new SupplierDAL();
        }

        public static IDepartmentDAL GetDepartment()
        {
            return new DepartmentDAL();
        }

        public static IMeasuringUnitDAL GetMeasuringUnit()
        {
            return new MeasuringUnitDAL();
        }

        public static IDrugTypeDAL GetDrugType()
        {
            return new DrugTypeDAL();
        }

        public static IProducterDAL GetProducter()
        {
            return new ProducterDAL();
        }

        public static IStockInBillDAL GetStockInBill()
        {
            return new StockInBillDAL();
        }

        public static IDrugDAL GetDrug()
        {
            return new DrugDAL();
        }

        public static IStockInHeaderDAL GetStockInHeader()
        {
            return new StockInHeaderDAL();
        }

        public static IStockInDetailDAL GetStockInDetail()
        {
            return new StockInDetailDAL();
        }

        public static IStockOutHeaderDAL GetStockOutHeader()
        {
            return new StockOutHeaderDAL();
        }

        public static IStockOutDetailDAL GetStockOutDetail()
        {
            return new StockOutDetailDAL();
        }

        public static IInventoryDAL GetInventory()
        {
            return new InventoryDAL();
        }

        public static ISystemManagerDAL GetSystemManager()
        {
            return new SystemManagerDAL();
        }
    }
}
